#include "StdAfx.h"
#include "SceneObjectManager.h"


CSceneObjectManager::CSceneObjectManager(void):mInstance(0)
{
}


CSceneObjectManager::~CSceneObjectManager(void)
{
}

CSceneObjectManager* CSceneObjectManager::Instance()
{
	if( mInstance == NULL )
	{
		WriteLock lock(mMutex);
		if ( mInstance == NULL )
		{
			mInstance = new CSceneObjectManager();
		}
	}

	return mInstance;
}
